package com.itcanteen.medical.patient.service.impl;

import com.itcanteen.medical.patient.entity.Hospital;
import com.itcanteen.medical.patient.mapper.HospitalMapper;
import com.itcanteen.medical.patient.service.HospitalService;
import org.springframework.stereotype.Service;

import java.util.List;
import javax.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 @author WangZhuoRan */
@Service
public class HospitalServiceImpl implements HospitalService {

    @Resource
    private HospitalMapper hospitalMapper;

    @Override
    public List<Hospital> getAllHospital () {
        return hospitalMapper.getAll();
    }
}
